<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">在线咨询</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('consult/index')}">
        关键字：
        <input type="text" name="keyword" style="width: 200px;" value="{$keyword}" placeholder="请输入关键字...">
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:U('consult/index')}">清空</a>
    </form>
    <form class="js-ajax-form" action="" method="post">

        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
               <td>咨询内容</td>
                <td>姓名</td>
                <td>电话</td>
                <td>单位名称</td>
                <td>地址</td>
                <td>邮箱</td>
                <td>合作类型</td>
                <td>公司类型</td>
				<td width="100">创建时间</td>
				<!--<td>操作</td>-->
            </tr>
            </thead>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.question}</td>
                    <td>{$vo.username}</td>
                    <td>{$vo.userphone}</td>
                    <td>{$vo.company_name}</td>
                    <td>{$vo.address}</td>
                    <td>{$vo.email}</td>
                    <td>{$vo.cooperate_type}</td>
                    <td>{$vo.company_type}</td>
					<td>{:date("Y-m-d H:i:s",$vo["create_time"])}</td>
					<!--<td>-->
                        <!--<a href="{:U('solution/is_home',array('id'=>$vo['id']))}">首页</a>| <a href="{:U('solution/add',array('id'=>$vo['id']))}">编辑</a> |<a href="{:U('solution/delete',array('id'=>$vo['id']))}">删除</a> </td>-->
                </tr>
            </foreach>

        </table>

        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script>
    function refersh_window() {
        var refersh_time = getCookie('refersh_time');
        if (refersh_time == 1) {
            window.location = "{:U('AdminPost/index',$formget)}";
        }
    }

</script>
</body>
</html>